package com.JavaBean.Stu_Sco_Cou_Tea;

import java.util.ArrayList;
import java.util.List;

public class Scores
{
    private String sno;
    private String cno;
    private String degree;

    private Courses courses;


    public Scores() {
    }

    public Scores(String sno, String cno, String degree, Courses courses) {
        this.sno = sno;
        this.cno = cno;
        this.degree = degree;
        this.courses = courses;
    }

    /**
     * 获取
     * @return sno
     */
    public String getSno() {
        return sno;
    }

    /**
     * 设置
     * @param sno
     */
    public void setSno(String sno) {
        this.sno = sno;
    }

    /**
     * 获取
     * @return cno
     */
    public String getCno() {
        return cno;
    }

    /**
     * 设置
     * @param cno
     */
    public void setCno(String cno) {
        this.cno = cno;
    }

    /**
     * 获取
     * @return degree
     */
    public String getDegree() {
        return degree;
    }

    /**
     * 设置
     * @param degree
     */
    public void setDegree(String degree) {
        this.degree = degree;
    }

    /**
     * 获取
     * @return courses
     */
    public Courses getCourses() {
        return courses;
    }

    /**
     * 设置
     * @param courses
     */
    public void setCourses(Courses courses) {
        this.courses = courses;
    }

    public String toString() {
        return "Scores{sno = " + sno + ", cno = " + cno + ", degree = " + degree + ", courses = " + courses + "}";
    }
}
